home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / NG1.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  931b  |  51 lines

  1. /*
  2.  * SGI/Newport video card ioctl definitions
  3.  *
  4.  */
  5.  
  6. typedef struct {
  7.         int flags;
  8.         u16 w, h;
  9.         u16 fields_sec;
  10. } ng1_vof_info_t;
  11.  
  12. struct ng1_info {
  13.     struct gfx_info gfx_info;
  14.     u8 boardrev;
  15.         u8 rex3rev;
  16.         u8 vc2rev;
  17.         u8 monitortype;
  18.         u8 videoinstalled;
  19.         u8 mcrev;
  20.         u8 bitplanes;
  21.         u8 xmap9rev;
  22.         u8 cmaprev;
  23.         ng1_vof_info_t ng1_vof_info;
  24.         u8 bt445rev;
  25.         u8 paneltype;
  26. };
  27.  
  28. #define GFX_NAME_NEWPORT "NG1"
  29.  
  30. /* ioctls */
  31. #define NG1_SET_CURSOR_HOTSPOT 21001
  32. struct ng1_set_cursor_hotspot {
  33.     unsigned short xhot;
  34.         unsigned short yhot;
  35. };
  36.  
  37. #define NG1_SETDISPLAYMODE     21006
  38. struct ng1_setdisplaymode_args {
  39.         int wid;
  40.         unsigned int mode;
  41. };
  42.  
  43. #define NG1_SETGAMMARAMP0      21007
  44. struct ng1_setgammaramp_args {
  45.         unsigned char red   [256];
  46.         unsigned char green [256];
  47.         unsigned char blue  [256];
  48. };
  49.  
  50.  
  51.